<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="{{URL::asset('/css/app.css')}}">
    <style>
        .content{
            margin-top:100px;
            text-align:center;
        }
    </style>
</head>
<body>
    <div class="content">
        @if ($errors->any())
            <div class="alert alert-danger">
                <ul>
                    @foreach ($errors->all() as $error)
                        <li>{{ $error }}</li>
                    @endforeach
                </ul>
            </div>
        @endif
        <form action="{{url('/admin/finalldata')}}" method="post">
            {{csrf_field()}}
            用户名：<input name="username" type="text" value="{{old('username')}}"><br/><br/>
            密&nbsp;&nbsp;&nbsp;码：<input name="password" type="text" value="{{old('password')}}"><br/><br/>
            <button>登录</button>
        </form>
    </div>
</body>
</html>